package com.mf.all.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mf.all.entity.dto.DtoRolePermission;
import com.mf.all.entity.req.basic.ReqPermissionByRole;


/**
 * 角色权限关联关系
 *
 * @date 2025-04-02 22:36:49
 */

public interface ServiceRolePermission extends IService<DtoRolePermission> {
    /**
     * 根据权限id查询是否绑定角色
     */
    boolean isBindRole(Integer permissionId);

    /**
     * 角色绑定权限
     */
    void permissionByRole(ReqPermissionByRole reqPermissionByRole);
}

